<%@page import="com.situ.web.entity.Banji"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="bootstrap-3.3.7-dist/css/bootstrap.css"/>
</head>
<body>
	<%
		Banji banji = (Banji)request.getAttribute("banji");
	%>
	<div style="width: 600px; margin: 200px auto;">
		<form action="<%=request.getContextPath()%>/banji?method=update" method="post">
			<input type="hidden" class="form-control" name="id" value="<%=banji.getId()%>">
 			<div class="form-group">
				<label>班级名</label>
				<input type="text" class="form-control" name="name" value="<%=banji.getName()%>"/>
 		 	</div>
 			 <button type="submit" class="btn btn-default">修改</button>
	 	</form>
	</div>

</body>
</html>